*** set working directory
cd "/Users/Jeff/Dropbox/Research/Ongoing Research/ICM/JumpStart/Jeff/Replication Files"

use "jumpstart_final.dta", clear

*******************************************
********* Summary Statistics *************
*******************************************

* gen indicator for household level summary stats
by hhid_numeric, sort: gen hh_count = _n == 1 

* household income
sum hh_income if hh_count == 1 & hh_income_missing == 0
* ihs household income
sum ihs_hh_income if hh_count == 1 & hh_income_missing == 0
* household size
sum hh_num if hh_count == 1 & hh_num_missing == 0
* mother age
sum mom_age if hh_count == 1
* mother educational attainment
sum mom_highschool if hh_count == 1
sum mom_college if hh_count == 1
* mother married
sum mother_married if hh_count == 1
* mother occupation
sum stayathome if hh_count == 1
* mother graduated vhl (e.g. Transform)

* child age
sum child_age if jumpstart == 1
sum child_age if gov_kinder == 1
sum child_age if no_kinder == 1
* child current grade
sum current_grade if jumpstart == 1
sum current_grade if gov_kinder == 1
sum current_grade if no_kinder == 1
* child sex // Note: Male == 1
sum child_sex if jumpstart == 1
sum child_sex if gov_kinder == 1
sum child_sex if no_kinder == 1
* best in third grade
sum best_in_third if jumpstart == 1
sum best_in_third if gov_kinder == 1
sum best_in_third if no_kinder == 1
* best in elementary
sum best_in_elem if jumpstart == 1
sum best_in_elem if gov_kinder == 1
sum best_in_elem if no_kinder == 1
* placed in top third grade section
sum Section1_full if jumpstart == 1
sum Section1_full if gov_kinder == 1
sum Section1_full if no_kinder == 1
* child currently enrolled in school
sum child_enroll if jumpstart == 1
sum child_enroll if gov_kinder == 1
sum child_enroll if no_kinder == 1

* respondent relation
tab respondent_relation

